package net.mysoft.budgetsoft.system.service;

import java.util.List;

import net.mysoft.budgetsoft.system.pagemodel.FlowTemplateNode;
import net.mysoft.budgetsoft.system.pagemodel.YongHu;
import net.mysoft.framework.model.DataGrid;

//import com.sun.tools.internal.xjc.reader.xmlschema.bindinfo.BIConversion.User;

/**   
 *  
 * @author dagongPGP v1.0 
 * @link <a href=http://www.dagongsoft.net>北京大公信软科技有限公司</a> 
 *  
 * @version $Revision: 1.00  $Date: 2013-07-08 17:28:18 
 */
public interface FlowTemplateNodeService{
	public void parseXMLAndSave(FlowTemplateNode flowTemplateNode)throws Exception;
	public void add(FlowTemplateNode flowTemplateNode);
	
	public void edit(FlowTemplateNode flowTemplateNode);
	
	public void delete(FlowTemplateNode flowTemplateNode);
	
	public DataGrid datagrid(FlowTemplateNode flowTemplateNode);
	//public List<FlowTemplateNode> findNextTemplateFlowNode(FlowTemplateNode flowTemplateNode);
	
	
	public List<FlowTemplateNode> findMenu(FlowTemplateNode flowTemplateNode);
	/**
	 * 获得下一步节点
	 */
	public List<FlowTemplateNode> findNextFlowTemplateNode(String xiangMuJBXXBH,String ftc_ID);
	
	/**
	 * 获得下一步节点
	 */
	public List<FlowTemplateNode> findNextFlowTemplateNode(FlowTemplateNode flowTemplateNode);
	/**
	 * 获得退回节点
	 */
	public List<FlowTemplateNode> findBackFlowTemplateNode(FlowTemplateNode flowTemplateNode);
	public List<FlowTemplateNode> findFlowTemplateNodeByXMRW(FlowTemplateNode flowTemplateNode);
	
	//public List<User> backUpCandidate(FlowTemplateNode flowTemplateNode);
	public List<YongHu> candidate(FlowTemplateNode flowTemplateNode);
}
